<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="center">
<ul class="pagination">
<li class="active"><span> 共有记录${p.rows }条，当前 ${p.pn }/${p.pages}页</span></li><li>

  	      <a href="${param.actionname }&p.pn=1">首页</a>
  	    <a
  	      <c:if test="${p.pn>1}">
  	       href="${param.actionname }&p.pn=${p.pn-1 }" 
  	       </c:if>
  	       <c:if test="${p.pn<=1}">
  	       disabled="disabled"
  	       </c:if>
  	       >上一页</a>
  	      <a 
  	       <c:if test="${p.pn<p.pages}">
  	      href="${param.actionname }&p.pn=${p.pn+1 }"
  	       </c:if>
  	       <c:if test="${p.pn>=p.pages}">
  	       disabled="disabled"
  	       </c:if>
  	     
  	      >下一页</a>
  	      <a  href="${param.actionname }&p.pn=${p.pages}" >尾页</a>
</li><!--<span class='gray'></span>-->
<!--<li class='next'>
<a href="/go/noticeboard?p=2">下一页 →</a>
</li>-->
</ul>
</div>